// 初始化threadPool_t这个变量
#include "threadPool.h"
int threadPoolInit(threadPool_t *pthreadPool, int workerNum){
    pthreadPool->threadNum = workerNum;
    pthreadPool->tidArr = (pthread_t *)calloc(workerNum,sizeof(pthread_t));
    pthreadPool->isexit = 0; 
    bzero(pthreadPool->buf,sizeof(pthreadPool->buf));
    pthreadPool->netfd=0;// 一启动的时候，退出标志位0
    taskQueueInit(&pthreadPool->taskQueue);
} 